package cn.soboys.subsys.bean.insurbs;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("sys_user")
public class UserBs {

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 登录名
     */
    @TableField("login_name")
    private String loginName;
    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    private String nickName;
    /**
     * 密码
     */
    private String password;
    /**
     * shiro加密盐
     */
    private String salt;
    /**
     * 手机号码
     */
    private String tel;
    /**
     * 邮箱地址
     */
    private String email;

    /**
     * 账户是否锁定
     */
    private Boolean locked;

    private Long dept;

    private String keycloakId;
}
